#ifndef __sendfile_H__
#define __sendfile_H__
#include <func.h>
#define BUFFSIZE 1024


typedef struct Train_s{
    int lenth;
    char buf[BUFFSIZE];
}Train_t;

char* SendFile(char* pathName, int peerFd);
int Sendn(int peerFd, void* buf, int size);

#endif

